<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Top Menu</title>
<%@ include file="/WEB-INF/view/common/Header.jspf" %>
<script type="text/javascript">
function fncGoMenu() {
	
}

$(document).ready( function() {
	$("#viewForm").click(function() {
		top.frame_mainFrame.location.href = "<c:url value='/sample.inqForm.htm'/>";
	}),
	$("#viewPaging").click(function() {
		top.frame_mainFrame.location.href = "<c:url value='/sample.inqPaging.htm'/>";
	}),
	$("#admin").click(function() {
		$.ajax({
			url : "/zzz.refreshConfig.htm",
							
			success : function(data) {
				alert("Refresh Complete");
			}
		}); 
	});
	$("#logout").click(function() {
		top.location.href = "<c:url value='/zzz.logout.htm'/>"; 
	});
});
</script>
</head>
<body>
<form name="mainForm" action="" method="post">
  	<table border="0" width="100%">
	    <tr>
	      	<td>
		        <b>Dev - <c:out value="${sessionScope.userId}"/>(<c:out value="${sessionScope.userNm}"/>)</b>
		    </td>
			<td><a id="viewForm">일반등록화면</a></td>
			<td><a id="viewPaging">Paging</a></td>
			<td>[FileUpload and Modify]</td>
			<td id="admin">[Admin]</td>
	      	<td id="logout"><a href="#">Logout</a></td>
	    </tr>				
	</table>
</form>
<%@ include file="/WEB-INF/view/common/Footer.jspf" %>
</body>
</html>